<?php

class User_Form_Admin_Sendmail extends Form
{
	function init()
	{
		$this->setDesc('user.admin.sendmail.desc');
		
		$this -> addChild('text', 'subject', array(
			'label' => 'Subject',
			'rules' => array('required')
		));

		$this -> addChild('textarea', 'body_html', array(
			'label' => 'Content',
			'rules' => array('required')
		));

		$this -> addChild('group', 'buttons');

		$this -> buttons -> addChild('submit', '_submit') -> addChild('cancel', '_cancel');
	}

}
